package com.ruoyi.system.event;

import com.ruoyi.system.buffer.GameData;
import org.springframework.context.ApplicationEvent;

public class GameResponseEvent extends ApplicationEvent {

    /**
     * 访问函数
     */
    private String ResquestFunction;

    public GameResponseEvent(GameData data) {
        super(data);
        this.ResquestFunction =data.getResquestFunction();
    }

    public String getResquestFunction() {
        return ResquestFunction;
    }

    public void getResquestFun(String message) {
        this.ResquestFunction = message;
    }

}
